-- GENERATED SPELL FOR [D'ore] --


function spell0_19412(pUnit, Event) --@Projection,Self--
pUnit:FullCastSpellOnTarget(7765,pUnit)
pUnit:RegisterEvent('Sorts_19412', 674, 1)
end

function Sorts_19412(pUnit, Event)
local choix_sorts_19412 = math.random(0, 0)
if choix_sorts_19412 == 0 then
pUnit:RegisterEvent('spell0_19412', 1, 1)
end
end

function mob19412_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_19412', math.random(1500, 3000), 1)
end

function mob19412_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob19412_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob19412_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(19412, 1, 'mob19412_Action')
RegisterUnitEvent(19412, 2, 'mob19412_Leave')
RegisterUnitEvent(19412, 3, 'mob19412_Kill')
RegisterUnitEvent(19412, 4, 'mob19412_Die')
